package com.itjiange;

import lombok.Getter;

/**
 * 菜单 B
 *
 * @author ItJianGe
 * @data 2024/8/26 10:39
 */
@Getter
public class BMenus implements Menu {

    private MenuItem[] menuItems;

    public BMenus() {
        menuItems = new MenuItem[2];
        menuItems[0] = new MenuItem("【B餐厅】牛肉面", "牛肉面的描述", 2);
        menuItems[1] = new MenuItem("【B餐厅】糟肉", "豆浆的描述", 3);
    }

    @Override
    public MenuIterator getMenuIterator() {
        return new BMenusIterator(menuItems);
    }
}
